package com.smartcommunity.api.peopleRegular.fallBack;

import com.smartcommunity.api.peopleRegular.FrequentVisitorApi;
import com.smartcommunity.bean.model.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author nieming
 * @descrition
 * @date 2020/6/8
 */
@Component
@RequestMapping("fallback")
@Slf4j
public class FrequentVisitorApiFallBack implements FrequentVisitorApi {

    @Override
    public Result<Integer> getUnRegisterBusyStatistics() {
        log.error("调用np-zhsq-people-regular-service接口:getUnRegisterBusyStatistics 时异常，服务不存在");
        return null;
    }
}
